<?php
/**
 * Created by Command.
 * User: Vito
 */

namespace app\admin\curd\polling_device;

use app\common\curd\Edit;
use app\model\PollingType;
class PollingDeviceEdit extends Edit
{
    //显示的字段
    protected $field = [];
    //查询条件
    protected $where = [];
    //关联
    protected $with = [
    'pollingType'
    ];
    //追加字段
    protected $append = [];
    //追加标签数据
    protected $labelCallback = [
        'get_dateType_enum' => ['name' => '巡检频率'],
    ];

}